#ifndef PORTWIDGET_H
#define PORTWIDGET_H

#include <QWidget>
#include<list>
#include "device_interface.h"
using namespace std;
class PortWidget : public QWidget
{
    Q_OBJECT
public:
    explicit PortWidget(QWidget *parent = 0);
    void paintEvent(QPaintEvent *);
    void setResult(list<Device_interface *> result);
    void paintPort();
private:
    list<Device_interface *>  result;
signals:

public slots:

};

#endif // PORTWIDGET_H
